package cn.alise.qdp.model.log;

import java.sql.Timestamp;

/**
 * 访问日志
 * @author hechj
 * @version 1.0
 * @date 2016-01-18
 */
public class UserAccessLogs implements java.io.Serializable{
	private static final long serialVersionUID = 1297828612513224941L;

	/**
	 * 类型  1:操作2:异常
	 */
	public static int TYPE_HANDLE_INT    = 1;
	public static int TYPE_EXCEPTION_INT = 2;
	
	/**
	 * 日志编号
	 */
	private Long logId;
	
	/**
	 * 类型 1操作 2异常
	 */
	private Integer type;
	
	/**
	 * 用户编号
	 */
	private Long userId;
	
	/**
	 * 用户姓名
	 */
	private String userName;
	
	/**
	 * 用户账号
	 */
	private String account;
	
	/**
	 * 用户角色
	 */
	private String roleName;
	
	/**
	 * IP地址
	 */
	private String ipaddress;
	
	/**
	 * 访问路径
	 */
	private String path;
	
	/**
	 * 备注
	 */
	private String remark;
	
	/**
	 * 创建时间
	 */
	private Timestamp createdTime;
	
	// 外参
	// 清理时间
	private Integer clearTime;

	public Long getLogId() {
		return logId;
	}

	public void setLogId(Long logId) {
		this.logId = logId;
	}

	public String getIpaddress() {
		return ipaddress;
	}

	public void setIpaddress(String ipaddress) {
		this.ipaddress = ipaddress;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Timestamp getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Timestamp createdTime) {
		this.createdTime = createdTime;
	}
	
	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	
	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getClearTime() {
		return clearTime;
	}

	public void setClearTime(Integer clearTime) {
		this.clearTime = clearTime;
	}
	
}
